package com.neuedu.yyzx.service.impl;

import com.neuedu.yyzx.mapper.DeptMapper;
import com.neuedu.yyzx.po.Dept;
import com.neuedu.yyzx.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DeptServiceImpl implements DeptService{
	@Autowired
	private DeptMapper deptMapper;
	
	public List<Dept> queryAll(){
		return deptMapper.selectList( null);
	}
}
